package com.scy.hospitalmanager.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigInteger;

/**
 * @Author Song_can_yu
 * @ClassName Nurse
 * @Date 2021-08-06-17:58
 * @PackageName com.scy.hospitalmanager.pojo
 * @Description 护士的实体类
 * *
 * 字段名	类型	说明
 * nur_id	BIGINT	主键
 * nur_name	VARCHAR (10)	护士姓名
 * nur_age	INT	护士年龄
 * nur_sex_id	INT	性别
 * nur_qualification_id	INT	资质
 * nur_post_id	INT	岗位
 * nur_hir_date	VARCHAR (20)	入职日期
 * nur_department	INT	部门
 * nur_status	INT	状态码
 */
@Data
@NoArgsConstructor
public class Nurse {
    public Nurse(Integer nurId, String nurName, int nurAge, int nurSexId, int nurQualificationId, int postId, String nurHirDate, int nurDepartment,int nurStatus) {
        this.nurId = nurId;
        this.nurName = nurName;
        this.nurAge = nurAge;
        this.nurSexId = nurSexId;
        this.nurQualificationId = nurQualificationId;
        this.postId = postId;
        this.nurHirDate = nurHirDate;
        this.nurDepartment = nurDepartment;
        this.nurStatus = nurStatus;
    }

    /*
     * 护士id 主键
     */
    private Integer nurId;
    /*
     * 护士姓名
     */
    private String nurName;
    /*
     * 护士年龄
     */
    private int nurAge;
    /*
     * 护士性别
     */
    private int nurSexId;
    /*
     * 护士资质
     */
    private int nurQualificationId;
    /*
     * 护士岗位
     */
    private int postId;
    /*
     * 护士入职日期
     */
    private String nurHirDate;
    /*
     * 护士部门
     */
    private int nurDepartment;
    //护士岗位
    private NursePost nursePost;
    /*
     * 状态码
     */
    private int nurStatus;
    //    //护士交接班
//    private NurseTransition nurseTransition;
    //护士性别
    private AllSex sex;
    //科室
    private AllDepartment allDepartment;
    //护士资质
    private NurseQualification nurseQualification;

}
